package com.mlk.engSystem.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mlk.core.constants.Constant;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * @author trekxu
 * @since 2019-06-23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EngSysEmpRemainLog implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String openId;

    @JsonFormat(pattern = Constant.DATE_TIME_FORMAT)
    private Date createTime;
    /**
     * 创建人
     */
    private String createName;
    /**
     * 1:业务员申请 2 管理员授额
     */
    private Integer type;

    private BigDecimal amount;

}
